Builds a quiz book with your choice of layout template and option to randomize the quiz pages. Has options for page size, student tracking, etc.
12/19/95 7:23:39 PM
12/14/95 5:13:53 PM
MS Sans Serif
5:06:14 PM
tempWindow
System
7:23 PM
Arial
w3GDb
Asymetrix Corporation
Viewer id 15 of Book "G:\FRANKJR\CTB30A.SBK"
(Untitled)
(Untitled)
Adding chapter headings
Adding chapter headings
Adding content pages
Adding content pages.
Adding quiz pages
Adding quiz pages.
as of
as of
Browse for more templates
Use the Browse button to locate more templates.
Browse for templates
Use the Browse button to locate templates.
Building new book
Building the new book.
Building Spec
One moment please... Checking your specifications.
Cancel
Cancel
CancelSpecialist
Cancel the Specialist.
Record your choices for the next time you use this Specialist?
Chapter
Chapter
Creating Chapter Heading
Creating first chapter heading from template.
Creating content page
Creating first content page from template.
Creating first question page
Creating first question page from template.
Creating Menu Page
Creating menu page from template.
Creating Title Page
Creating title page from template.
DoneAtLast
Done!
DontTellAgain
Don't Tell Me Again
error mainwindow
Specialist can only work in a viewer that is not the main window.
Error No Chapter Heading
Could not find the background "Chapter Heading" in the template file.
Error no menu background
Could not find the background "Menu" in the template file.
ErrorAddingContentPages
Unable to add content pages to match chapter headings.
ExplainINI
Your specifications for this Specialist have been recorded in the file "%1". If you run the same Specialist again, it will use that file to set up its default choices.
File:
File:
Glossary.tbk
GLOSSARY.TBK
Incorrect template file format:
Incorrect template file format:
Interpreting your choices
Interpreting your choices.
No template
<No Template>
NotDoneYet
I'm Not Done Yet
NoTemplate
<No template>
of as in page of
One moment
One moment, please. Working...
Page Templates
Page Templates
PageXofChapterY
Page %1 of chapter %2
Question
Question
Quiz Setup
Quiz Setup
Quiz Summary
Quiz Summary
ResponseData explained
Tab-separated data
SaveChangesToBookx
Save current changes to book %1?
Setting Book Script
Setting book script.
SpecRTF Chapter Heading
\b Chapter Heading\tab \b0 Specialist action: Add a chapter heading page and background copied from the template. New pages can be added to the same background to use as chapter headings throughout your book.
SpecRTF generic page
\b Content page\tab \b0 Specialist action: Add a generic content page and background copied from the template. New pages can be added to the same background as you build your book, or you can create additional backgrounds with the New Background command.
SpecRTF Main menu page
\b Menu page\tab \b0 Specialist action: Add a menu page and background copied from the template. That page contains buttons for which you can set hyperlinks to navigate to various parts of your book.
SpecRTF Quiz Summary
\b Quiz Summary\tab \b0 Specialist action: Add a quiz summary page and background copied from the template. In most templates, the foreground of this page contains a widget to compute the total score for the quiz.
SpecRTF Title page
\b Title page\tab \b0 Specialist action: Add a title page and background copied from the template and set the text of the recordfield "Title" of that first page to the title you chose.
SpecRTFASYM_AutoBookmarks
\b Bookmarking\tab Automatic (store bookmarks in .ini file) \line \b0 Specialist action: Set \i ASYM_Bookmarks \i0 property of the book to \i %1 \i0
SpecRTFASYM_AutoGlossary
\b Glossary lookup\tab Automatic when a hotword is clicked \line \b0 Specialist action: Set \i ASYM_AutoGlossary \i0 property of the book to \i true \i0
SpecRTFASYM_AutoHotwords
\b Auto hotwords\tab Reader can click any word to attempt a glossary lookup. \line \b0 Specialist action: Set \i ASYM_AutoHotwords \i0 property of the book to \i true \i0
SpecRTFASYM_FullScreen
\b Full screen at reader level \line \b0 Specialist action: Set \i ASYM_FullScreen \i0 property of the book to \i %1 \i0
SpecRTFASYM_GlossaryName
\b Glossary book\tab %1 \line \b0 Specialist action: Set \i ASYM_GlossaryName \i0 property of the book to \i %1 \i0
SpecRTFASYM_IsScored
\b Scoring\tab Automatic with the Course Management System \line \b0 Specialist action: Set \i ASYM_IsScored \i0 property of the book to \i %1 \i0
SpecRTFASYM_LogDestination
\b Log Destination\tab %2 \line \b0 Specialist action: Set \i ASYM_IsLogDestination \i0 property of the book to \i %1 \i0
SpecRTFASYM_LogName
\b ASCII file log\tab %1\line \b0 Specialist action: Set \i ASYM_IsLogFile \i0 property of the book to \i %1 \i0
SpecRTFASYM_LogType
\b Log file type\tab %2 \line \b0 Specialist action: Set \i ASYM_LogType \i0 property of the book to \i %1 \i0
SpecRTFASYM_Modal
\b Task Switching\tab Switching to other applications is disabled at reader level \line \b0 Specialist action: Set \i ASYM_Modal \i0 property of the book to \i %1 \i0
SpecRTFbkDefaultTemplate
\b Template file\tab %1\line \b0 (File from which the layout templates are drawn)
SpecRTFInfo_CreatedBy
\b Author\tab \b0 Specialist action: Set \i Info_CreatedBy \i0 property of the book to \i %1\i0
SpecRTFInfo_Description
\b Description\tab \b0 Specialist action: Set \i Info_Description \i0 property of the book to \i %1\i0
SpecRTFInfo_Title
\b Title\tab \b0 Specialist action: Set \i Info_Title \i0 property of the book to \i %1\i0
SpecRTFmatColor
\b Mat color\tab Hue = %1 Lightness = %2 Saturation = %3 \line \b0 (value obtained from the template) \line \b0 Specialist action: Set \i matColor \i0 property of viewer ID 0 of the book to \i %4 \i0
SpecRTFmenuBar
\b Reader menu\tab No menu bar at reader level \line \b0 Specialist action: Set \i menuBar \i0 property of viewer ID 0 of the book to \i %1 \i0
SpecRTFNumChapters
\b Chapters\tab \b0 Specialist action: Add %1 chapter heading page(s), for a total of %2, and set the text of the recordfield "Title" of each of those pages to \i Chapter <chapter number> \i0 to help distinguish them as you work. The \i name \i0 property of those pages will also be set to that value.
SpecRTFNumPagesPerChapter
\b Chapter Pages\tab \b0 Specialist action: Add %1 generic content page(s) after each chapter
heading and put some placeholder text in the recordfield "Title" of each of those pages, as well as set the page names, to help distinguish them as you work.
SpecRTFNumPagesToDraw
\b Question selection\tab Number of questions: %1 \line \b0 Specialist action: Set the user property \i NumPagesToDraw \i0 of the book to \i %1 \i0 . This is the number of pages that will be drawn at random from the quiz pages every time the book is started. After entering the quiz background, the reader will be able to navigate between these pages only.
SpecRTFRandomAllQuestions
\b Random question order \line \b0 Specialist action: Set the user property \i RandomizeQuiz \i0 to this book to \i true \i0 . \line Add handlers in the script of the book to manage the random ordering of question pages every time the book is started. Also add handlers to manage navigation between those questions at reader level.
SpecRTFRandomSubset
\b Random drawing from all the question pages \line \b0 Specialist action: Add handlers in the script of the book to manage the random selection and ordering of question pages every time the book is started. Also add handlers to manage navigation between those questions at reader level.
SpecRTFSize
\b Page size\tab %1x%2 page units (%3x%4 pixels) \line \b0 Specialist action: Set \i size \i0 property of the book to \i %5\i0
SpecRTFTotalNumberOfQuestions
\b Question pages\tab \b0 Specialist action: Add a generic quiz page and background copied from the template and duplicate that page until %1 quiz pages have been created. You can drag test item widgets from the Widget Catalog onto these pages, or create your own test items from scratch. \line For your convenience, the placeholder text in the record field "Title" of each page is set to \i Question <number> \i0 where \i <number> \i0 is the number of that page in the background.
Title Page
Title Page
Transcript explained
Human-readable transcript
UsingTemplateRTF
\par \par \tab Some objects, like buttons, may already have scripts or hyperlink properties. Text fields are typically record fields that are defined on a background but contain different text for each of the pages that share that background. To change the format of the text in a recordfield, right-click the record field and choose Character or Paragraph in the pop-up menu. To remove a border around a recordfield, right-click it and choose BorderStyle None.
UsingThisBookRTF
\par \par \b Using this book\b0 \tab The book created by this Specialist is entirely made of ToolBook objects, including the layout. You can change any of the properties of those objects at will.
You should save
You should now save the new book before proceeding.
Your specs
Your specs
YourSpecs
Your Specifications
Generic Quiz Book Specialist
Cover
.'+ +F
.'+ +F
reader
^readSPCChoices
xenterPage
xenterPage
xidle
xenterPage
targetWindow
lockScreen
readSPCChoices
J <>
xidle
This specialist creates the foundation for a page-oriented ToolBook quiz. With it, you can specify the book's layout, page size, and basic behavior, including options to choose the questions at random.
After the Specialist creates the book, you can add text, images, media clips and interactive widgets. You can modify any aspect of the book, including changing the layout, adding and removing objects, and adding or modifying hyperlinks and scripts.
cripts.
layout, general behavior and other options for the book. You will be able to specify how the quiz will run: Select questions at random from the quiz pages, just randomize the order in which the pages are presented, or simply present the pages in the order where you arrange them.
Once the specialist has created the basic book, you can add your content in the form of test items, text, images, media clips, interactive widgets. You can modify every aspect of the book, rearrange the layout, add and remove objects, add or modify hyperlinks and scripts.
Generic Quiz Specialist
One moment
ASYM_GetString
enterPage
leavePage
author
.'+ +F
.'+ +F
^readSPCChoices
actionButtons
enterPage
buttonClick
notifyBefore
K= ASYM_GetString("One moment","")
oenabled =
notifyAfter
targetWindow
lockScreen
readSPCChoices
"actionButtons"
B"Next"
buttonClick
One moment, please. Working...
ActionButtons
leavePage
buttonClick
ASYM_Reset
notifyAfter
buttonClick
notifyBefore ASYM_Reset
&Next
Cancel
leavePage
buttonClick
author
notifyAfter
buttonClick
close
notifyBefore
&Cancel
author
enterPage
ASYM_Reset
leavePage
enterPage
94091723224814028589176
94091723224814028589176
ASYM_TpID
Copyright Info
Generic Content Book Specialist (2)
Info_Title
Information
Description, Copyright or Other Information:mation::
Preview the selected template. The preview is an approximation only.
helpText
Pre&view
sized
sized
3dField
tbk_wid_type
Template directory
string
propType
Page id 34 of Book "C:\MTB30\DEMO\DEMO10.TBK"
trueValue
specialist
propOwner
j:\frankjr\rel\template\line\
oldtxt
Browse
Browse the directories to locate the template directory.
helpText
&Browse...
Description
ASYM_reset
notifyBefore ASYM_reset
enterPage
ASYM_Reset
firstIdle
leavePage
pwpwp
ODDOD
DODOO
wxwwp
wxwwpW
Page size
operties DB
Page Size and window size
propType
system
secName
propOwner
Book property: size
HelpText
in,ms
ThreeDeeRect
bottomLine
topLine
startupWidth
system
secName
propValue
fType
84600
in,ms
ThreeDeeRect
bottomLine
topLine
startupHeight
system
secName
propValue
fType
576070
in,ms
ThreeDeeRect
bottomLine
topLine
startupWidth VGA
system
secName
propValue
fType
in,ms
ThreeDeeRect
bottomLine
topLine
startupHeight VGA
system
secName
propValue
fType
in,ms
ThreeDeeRect
bottomLine
topLine
startupWidth Pixels
system
secName
propValue
fType
in,ms
ThreeDeeRect
bottomLine
topLine
startupHeight Pixels
system
secName
propValue
fType
38440
Width:idth:
Height:ight:
The ratio of ToolBook page units to pixels is determined by the video driver.
helpText
ToolBook Page Units:ssss
Size, in pixels, of the pages of the book when using the standard Windows VGA driver (15 page units/pixel).
HelpText
Standard VGA Pixels:s
Size, in pixels, of the pages of the book when using the current video driver.
HelpText
Pixels with this Video
Driver::I
tb40WIN.DLL
9verticalDisplayRes
horizontalDisplayRes
verticalDisplayRes
horizontalDisplayRes
enterPage
9verticalDisplayRes
horizontalDisplayRes
propValue
buttonDoubleClick
notifyBefore
hRes = horizontalDisplayRes()
linkDLL "tb40WIN.
INT
:es()
verticalDisplayRes()
vRes =
& "x" &
propValue
" = \
es() *
sysPageUnitsPerPixel,\
() *
800x600
Fake screen
myTwin
Window Style
matColor
update
7wASYM_Container
enterPage
notifyBefore
myTwin = stage "matColor"\
"Window Style"\
ASYM_Container(
update
_value
j:\frankjr\rel\template\FUNONEQU.PTP
refTpFn
Fake page
fake caption bar
(Standard VGA resolution is 640x480.)
enterPage
ASYM_Reset
clear
paste
Window style
nd style
Window Styleend stylerance
tb40WIN.DLL
9verticalDisplayRes
horizontalDisplayRes
verticalDisplayRes
horizontalDisplayRes
enterPage
notifyBefore
hRes = horizontalDisplayRes()
linkDLL "tb40WIN.
INT
:es()
verticalDisplayRes()
vRes =
& "x" &
This is your current screen resolution.
HelpText
800x600
matColor
color
propType
mainWindow
propOwner
Desktop area not covered by the book page.
HelpText
_value
g:\mtb40\template\PLAINSTU.PTP
refTpFn
Fake page
,"J-Y
fake page
page size
fakeCaption
Normal window
fake caption bar
enterPage
notifyBefore
myPg =
"fake
fakeCaption =
Kbar"
B"Normal
bnds =
"- 45, \
-- pos =
-- xoff = x1 -
-- yoff = x1 -
== x1 +
6, y1 +
(, x2 +
H, y2 +
Approximate size of the book pages relative to the screen.
HelpText
fake caption bar
buttonClick
buttonClick
Normal window
propValue
propValue
propValue
Normal &Window
ASYM_FullScreen
propValue
Normal Window
7wASYM_Container
propValue
propValue
ASYM_Reset
propValue
myPg = ASYM_Container(
B"Normal Window"
notifyBefore ASYM_Reset
boolean
propType
Book property: ASYM_FullScreen
HelpText
propOwner
Full &Screen at Reader Level
Choose this option to makes the book the same size as the screen, with no caption bar. If the page is smaller than the screen, it is centered in a blank mat area.
The window will appear normally at Author level. ear normally at Author level. vel. level. . . thor level. el. l. el. l.
enterPage
ASYM_Reset
buttonUp
Window behavior
rties DB
Window Behavior
ASYM_Modal
propValue
propValue
propValue
boolean
propType
Book property: ASYM_Modal
HelpText
propOwner
Modal at Reader level (disable Windows task switching)
Choosing this option disables task switching, so you cannot switching to another application by pressing ALT+Tab, ALT+Esc, or CTRL+Esc.
Note: To conform to user interface guidelines for Windows, you should allow your users to switch to other applications.............
Menu bar
Menu Bar
menuBar
menubar ID 100
propValue
propValue
ASYM_Reset
propValue
dID 100"
notifyBefore ASYM_Reset
boolean
propType
Property: menuBar of mainWindow
HelpText
mainWindow
propOwner
Remove menu bar at Reader level
Choosing this option does not affect the Author level menu bar.
Note: To conform to user interface guidelines for Windows applications, include a menu bar. Otherwise you will need to include buttons or other means to navigate and exit your application.e and exit the application.ion at Reader level.evel.........level..l.
ASYM_Reset
Scoring
Scoring
ASYM_IsScored
propValue
propValue
propValue
boolean
propType
Property name: ASYM_IsScored
HelpText
propOwner
&Tally and Record Score at the End of the Session
If the book is run from the Course Management System, or if Logging is turned on, the total score will be computed and recorded....ded.agement System activity record if applicable..
A list of pages will be chosen at random from the quiz pages every time the book is started or reset, and these pages will be presented to the reader in random order.
All pages in the quiz book are presented in random order each time the quiz is started.... started.ted.
The pages in the quiz book are presented in the order in which you put them in the book.bookk
sized
sized
& < 8
3dField
tbk_wid_type
specialist
propOwner
Total number of questions
propValue
ASYM_Reset
risNumber
propValue
rIsNumber
propValue
firstIdle
oldtxt
GUASYM_IsNumber
keyChar
notifyBefore ASYM_Reset
opropValue =
isNumber(
xIsNumber(
firstIdle
oldtxt =
xASYM_IsNumber(
> 999
propType
Page id 34 of Book "C:\MTB30\DEMO\DEMO10.TBK"
trueValue
specialist
propOwner
A page for each question will be added to the book
HelpText
HowToSetupQuiz
choice
propValue
choice
propValue
choice
buttonClick
propValue
ochoice
ss =
buttonClick
STRING
propType
Random subset
choice
specialist
propOwner
All in fixed order
All pages in Fixed Order
All in random order
The book script will randomize the questions
HelpText
All pages, in Random Order
Random subset
The book script will randomize the questions
HelpText
Random Subset of Pages
sized
sized
3dField
tbk_wid_type
NumPagesToDraw
propType
Page id 34 of Book "C:\MTB30\DEMO\DEMO10.TBK"
trueValue
specialist
propOwner
The script of the book will draw this many questions from all pages
HelpText
ASYM_Reset
firstIdle
buttonClick
enterPage
Random subset
Other options
title page
Unavailable options
quiz summary
enterPage
.'+ +F
xenabled
B"title
B"quiz summary"
"Unavailable options" =
Other Options
Title page
setVisible
Page stack picture
7wASYM_Container
propValue
propValue
buttonClick
FindTemplateBackground
s_spc_bkTemplate
Title
propValue
propValue
ASYM_Reset
FindTemplateBackground
false
s_spc_bkTemplate
propValue
Title
enterPage
propValue
setVisible
"Page stack picture" \
ASYM_Container(
buttonClick
4s_spc_bkTemplate
FindTemplateBackground(
3, "Title") <>
notifyBefore ASYM_Reset
oenabled =
boolean
propType
specialist
propOwner
Title page
Quiz Summary
setVisible
Page stack picture
7wASYM_Container
propValue
propValue
buttonClick
FindTemplateBackground
Quiz Summary
s_spc_bkTemplate
propValue
propValue
ASYM_Reset
FindTemplateBackground
false
Quiz Summary
s_spc_bkTemplate
propValue
enterPage
propValue
setVisible
"Page stack picture" \
ASYM_Container(
buttonClick
4s_spc_bkTemplate
FindTemplateBackground(
3, "Quiz Summary") <>
notifyBefore ASYM_Reset
oenabled =
specialist
propOwner
boolean
propType
Quiz Summary
The title page is the first page in the book, on which you can put instructions and a start button...........................
A back page that displays the total score after the quiz is completed.ompleted. that is shown after completing the quiz. The back page shows the total score.
Page stack picture
setVisible
setVisible what, how
objs =
L = (
Quiz Summary
content page icon
content page icon
content page icon
content page icon
content page icon
content page icon
content page icon
title page icon
Unavailable options
Options on this page are disabled if the corresponding background is not available in the selected template, or if no template is selected.
ASYM_Reset
enterPage
Summary
Summary
A copy of this summary is now on the clipboard.
buttonClick
buttonClick
lockScreen
targetWindow =
fld =
oldScroll =
summary
now on the clipboard."
Cop&y
Print
.'+ +F
.', "
.'+ +F
v^ASYM_TextToPrinter
Unable to print.
buttonClick
buttonClick
ASYM_TextToPrinter(
"Unable
Pr&int
.'+ +F
O:BuildIt
buttonClick
enterPage
buttonClick
BuildIt
notifyBefore
oenabled =
&Build
enterPage
t of Book
to handle enterApplication
send reader
if "ctb40r.sbk" is not in sysBooks
push "ctb40r.sbk" onto sysBooks
-- Put any other initialization statements here
forward -- The sysBooks need this!
-- Set the user property RandomizeQuiz of this book to true
-- if you want the quiz to get randomized each time the book
-- is started or reset. The Quiz Specialist may set this
-- property to true when it constructs the book.
-- If the userproperty RandomizeQuiz of this book is true,
-- the 3 script lines below will randomize the quiz
-- every time the book is started.
if RandomizeQuiz of self is true
send randomizeTheQuiz
to handle ASYM_reset
oldCursor = sysCursor
sysCursor = 4 -- hourglass
forward -- Generic reset handled by system book
if target is self and RandomizeQuiz of self is true
send randomizeTheQuiz
sysCursor = oldCursor
to handle exit
request "Are you really ready to quit?" with "&Yes" or "&No"
if "Yes" is in it
forward
-- The handlers below manage the random quiz by forcing
-- navigation to be according to the draw order
to handle ASYM_IAmWidget
-- Intercept the ASYM_IAmWidget message sent by widgets
-- when summoned by the ASYM_SummonWidgets message
system s_QuizBusyRandomize
-- flag set to true while randomizing the quiz
system s_QuizQpg
-- flag used to signal quiz pages
if s_QuizBusyRandomize is true and \
ASYM_Wid_MaxScore of target <> null\
and NotInQuiz of target <> true
s_QuizQpg = true
else
forward
to handle randomizeTheQuiz
-- Please read this carefully
-- This handler randomizes the quiz by the following method:
-- 1) Make a list of all the pages that contain a scored question
-- 2) If a question page is not included in the quiz,
-- set its skipNavigation to true,
-- else change its page number so that the quiz pages
-- the reader will see are in random order.
-- In order for this script to work, the following conditions
-- must be met:
-- 1) One question per page
-- 2) All question pages must be contiguous, but they do not
-- have to use the same background (unlike the Quiz books
-- built by the original CBT Edition 3.0 Quiz Book specialist)
-- 3) There can be any number of non-quiz pages before
-- the first quiz page
-- 4) There can be any number of non-quiz pages after the
-- last quiz page
-- 5) If a page contains a question widget but is not a quiz
-- page, set the userproperty NotInQuiz of the question
-- widget to true
-- For best performance, keep the total number of quiz pages
-- below 100. This script will randomize up to 3000 pages or
-- so, but that will take several minutes even on a fast system.
system s_QuizBusyRandomize
-- flag set to true while collecting quiz pages
system s_QuizQpg
-- flage used while collecting quiz pages
local STACK QuizPgIDList, RandomPgIDList
-- lists of IDs of pages containing questions
local WORD i, pgCnt, QuestionNumber, firstQPgN, lastQPgN
-- various counters
local OBJECT pg
-- variable used to cache a page reference for speed
oldstatcaption = caption of statusbar
caption of statusbar = "Randomizing questions"
pgCnt = pageCount of self
-- Build a list of all the pages that contain a question
-- and add a sort tag to the other pages
s_QuizBusyRandomize = true
firstQuestionPageFound = false
step i from 1 to pgCnt
pg = page i of self
clear s_QuizQpg
send ASYM_SummonWidgets to pg
if s_QuizQpg <> null
push idNumber of pg onto QuizPgIDList
if not firstQuestionPageFound
firstQuestionPageFound = true
firstQPgN = i
end
skipNavigation of pg = true
else
if firstQuestionPageFound
lastQPgN = i - 1
break step
end
end
s_QuizBusyRandomize = false
n = NumPagesToDraw of self
-- NumPagesToDraw is a user property,
-- typically set the by Quiz Specialist
if n is null
ss = sysSuspend
sysSuspend = false
n = NumPagesToDraw of background "Quiz" of self
sysSuspend = ss
if n is null
-- Assume all question pages will be used
n = itemCount(QuizPgIDList)
if n > 0 and n <= itemCount(QuizPgIDList)
RandomPgIDList = ASYM_RandomList(n, QuizPgIDList)
i = firstQPgN
while itemCount(RandomPgIDList ) > 0
pop RandomPgIDList
pg = page ID it of self
skipNavigation of pg = false
pageNumber of pg = i
increment i
end
else
if sysLevel is reader and n > 0
request "Cannot randomize. The number of pages containing"\
&& "a scored question widget is smaller than the value"\
&& "of the user property ""numPagesToDraw"" of this book."
end
caption of statusBar = oldstatcaption
ption of statusBar = oldstatcaption
caption
sBar = oldstatcaption
(RandomPgIDList ) > 0
pop RandomPgIDList
pg = page ID it of self
skipNavigation of pg = false
pageNumber of pg = i
increment i
end
else
if sysLevel is reader and n > 0
request "Cannot randomize. The number of pages containing"\
&& "a scored question widget is smaller than the value"\
&& "of the user property ""numPagesToDraw"" of this book."
end
caption of statusBar = oldstatcaption
thisBg <> "quiz" \
and name of parent of previous page is "quiz"
result = page ID (last item of my QuizPageList)
when name of thisBg = "quiz" and my QuizPageList <> null
--if s_QuizPageN = 0 -- just coming into the background
s_QuizPageN = ASYM_ItemOffset(idNumber of this page,\
my QuizPageList)
--end
if s_QuizPageN > 1
result = page ID (item s_QuizPageN - 1 of my QuizPageList)